package com.gupaowork.pattern.prototype;

/**
 * @Author heweicheng
 */
public class ClientTest {
    public static void main(String[] args) {
        UserVo userVo = new UserVo();
        userVo.setBrowser("win10");
        userVo.setDeptName("IT");
        userVo.setIpaddr("10.0.0.5");
        userVo.setLoginName("harry");
        userVo.setSessionId("xxdfdffedfdfdsasdf");
        userVo.setOs("windows");
        UserService userService = new UserService();
        UserOnline userOnline = userService.getUsesOnline(userVo);
        System.out.println(userOnline);
    }
}
